package com.ruoyi.system.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 盘点单对象 inventory_check
 * 
 * @author ruoyi
 * @date 2025-02-13
 */
public class InventoryCheck extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 盘点单号 */
    @Excel(name = "盘点单号")
    private String no;

    /** 盘点类型 */
    @Excel(name = "盘点类型")
    private String type;

    /** 关联单号 */
    @Excel(name = "关联单号")
    private String relatedNo;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 制单人（登录人） */
    @Excel(name = "制单人", readConverterExp = "登=录人")
    private String createOrderUser;

    /** 盘点明细信息 */
    private List<InventoryCheckInfo> inventoryCheckInfoList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNo(String no) 
    {
        this.no = no;
    }

    public String getNo() 
    {
        return no;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setRelatedNo(String relatedNo) 
    {
        this.relatedNo = relatedNo;
    }

    public String getRelatedNo() 
    {
        return relatedNo;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCreateOrderUser(String createOrderUser) 
    {
        this.createOrderUser = createOrderUser;
    }

    public String getCreateOrderUser() 
    {
        return createOrderUser;
    }

    public List<InventoryCheckInfo> getInventoryCheckInfoList()
    {
        return inventoryCheckInfoList;
    }

    public void setInventoryCheckInfoList(List<InventoryCheckInfo> inventoryCheckInfoList)
    {
        this.inventoryCheckInfoList = inventoryCheckInfoList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("no", getNo())
            .append("type", getType())
            .append("relatedNo", getRelatedNo())
            .append("remarks", getRemarks())
            .append("status", getStatus())
            .append("createOrderUser", getCreateOrderUser())
            .append("createTime", getCreateTime())
            .append("inventoryCheckInfoList", getInventoryCheckInfoList())
            .toString();
    }
}
